<foreach name="category" item="list">
<li class="nav-list-item "><a href="{:U('article/index',['category_id'=>$list['id']])}" >{$list['name']}</a></li>
</foreach>